package com.cskaoyan.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @author stone
 * @date 2022/04/02 14:45
 */
//@EnableWebMvc
@Configuration
public class WebConfiguration implements WebMvcConfigurer {

    //静态资源映射
    /*@Override
    public void addResourceHandlers(ResourceHandlerRegistry registry) {

    }

    //HandlerInterceptor
    @Override
    public void addInterceptors(InterceptorRegistry registry) {

    }*/
}
